home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 2 code / Secret Life of Mem. Mgr..sea / Secret Life of Mem. Mgr. / HeapDemo 1.3.4.rsrc / DITL.txt < prev    next >
Encoding:
Text File  |  1990-05-29  |  6.5 KB  |  231 lines

  1. DITL_1000_About.txt
  2. # 2 entries
  3. # item 0: BUTTON (0x04) enabled
  4. #   bounds: x1=229 y1=157 x2=305 y2=189
  5. #   text: "OK"
  6. # item 1: TEXT (0x88) disabled
  7. #   bounds: x1=9 y1=7 x2=216 y2=188
  8. #   text: "HeapDemo v 1.3.2\n  Written by:\n    Richard Clark\n\n  Useful suggestions by:\n    James Sulzen, Dave Feldt,\n    Eric Shapiro\n\n    \n¬©1989 by Apple Computer Inc. \nAll rights reserved.\n"
  9.  
  10.  
  11. DITL_1001_Memory Display.txt
  12. # 22 entries
  13. # item 0: CUSTOM (0x00) enabled
  14. #   bounds: x1=16 y1=32 x2=128 y2=272
  15. #   data: ""
  16. # item 1: CUSTOM (0x00) enabled
  17. #   bounds: x1=144 y1=32 x2=256 y2=272
  18. #   data: ""
  19. # item 2: BUTTON (0x04) enabled
  20. #   bounds: x1=280 y1=8 x2=377 y2=29
  21. #   text: "NewHandle"
  22. # item 3: BUTTON (0x04) enabled
  23. #   bounds: x1=280 y1=32 x2=377 y2=53
  24. #   text: "HLock"
  25. # item 4: BUTTON (0x04) enabled
  26. #   bounds: x1=280 y1=56 x2=377 y2=77
  27. #   text: "HUnlock"
  28. # item 5: BUTTON (0x04) enabled
  29. #   bounds: x1=280 y1=80 x2=377 y2=101
  30. #   text: "MoveHHi"
  31. # item 6: BUTTON (0x04) enabled
  32. #   bounds: x1=280 y1=104 x2=377 y2=125
  33. #   text: "DisposHandle"
  34. # item 7: BUTTON (0x04) enabled
  35. #   bounds: x1=280 y1=152 x2=377 y2=173
  36. #   text: "NewPtr"
  37. # item 8: BUTTON (0x04) enabled
  38. #   bounds: x1=280 y1=176 x2=377 y2=197
  39. #   text: "DisposPtr"
  40. # item 9: EDIT_TEXT (0x10) enabled
  41. #   bounds: x1=384 y1=11 x2=408 y2=27
  42. #   text: "1"
  43. # item 10: EDIT_TEXT (0x10) enabled
  44. #   bounds: x1=384 y1=155 x2=408 y2=171
  45. #   text: "1"
  46. # item 11: TEXT (0x88) disabled
  47. #   bounds: x1=162 y1=8 x2=235 y2=25
  48. #   text: "Present‚Ķ"
  49. # item 12: TEXT (0x88) disabled
  50. #   bounds: x1=40 y1=8 x2=104 y2=24
  51. #   text: "Past‚Ķ"
  52. # item 13: TEXT (0x88) disabled
  53. #   bounds: x1=416 y1=11 x2=436 y2=31
  54. #   text: "K"
  55. # item 14: TEXT (0x88) disabled
  56. #   bounds: x1=416 y1=155 x2=436 y2=175
  57. #   text: "K"
  58. # item 15: PICTURE (0xC0) disabled
  59. #   bounds: x1=280 y1=136 x2=461 y2=139
  60. #   PICT resource ID: 1000
  61. # item 16: TEXT (0x88) disabled
  62. #   bounds: x1=264 y1=216 x2=360 y2=232
  63. #   text: "Free memory:"
  64. # item 17: TEXT (0x88) disabled
  65. #   bounds: x1=368 y1=216 x2=504 y2=232
  66. #   text: "16536 bytes (16K)"
  67. # item 18: TEXT (0x88) disabled
  68. #   bounds: x1=1264 y1=0 x2=1360 y2=16
  69. #   text: "After purge:"
  70. # item 19: TEXT (0x88) disabled
  71. #   bounds: x1=1368 y1=0 x2=1504 y2=16
  72. #   text: "16536 bytes (16K)"
  73. # item 20: TEXT (0x88) disabled
  74. #   bounds: x1=264 y1=264 x2=315 y2=281
  75. #   text: "Result:"
  76. # item 21: TEXT (0x88) disabled
  77. #   bounds: x1=368 y1=264 x2=504 y2=280
  78. #   text: "noErr"
  79.  
  80.  
  81. DITL_1002_Extended Memory Display.txt
  82. # 31 entries
  83. # item 0: CUSTOM (0x00) enabled
  84. #   bounds: x1=8 y1=32 x2=112 y2=288
  85. #   data: ""
  86. # item 1: CUSTOM (0x00) enabled
  87. #   bounds: x1=120 y1=32 x2=224 y2=288
  88. #   data: ""
  89. # item 2: BUTTON (0x04) enabled
  90. #   bounds: x1=232 y1=8 x2=329 y2=29
  91. #   text: "NewHandle"
  92. # item 3: BUTTON (0x04) enabled
  93. #   bounds: x1=232 y1=32 x2=329 y2=53
  94. #   text: "HLock"
  95. # item 4: BUTTON (0x04) enabled
  96. #   bounds: x1=232 y1=56 x2=329 y2=77
  97. #   text: "HUnlock"
  98. # item 5: BUTTON (0x04) enabled
  99. #   bounds: x1=232 y1=128 x2=329 y2=149
  100. #   text: "MoveHHi"
  101. # item 6: BUTTON (0x04) enabled
  102. #   bounds: x1=232 y1=152 x2=329 y2=173
  103. #   text: "DisposHandle"
  104. # item 7: BUTTON (0x04) enabled
  105. #   bounds: x1=232 y1=184 x2=329 y2=205
  106. #   text: "NewPtr"
  107. # item 8: BUTTON (0x04) enabled
  108. #   bounds: x1=232 y1=208 x2=329 y2=229
  109. #   text: "DisposPtr"
  110. # item 9: EDIT_TEXT (0x10) enabled
  111. #   bounds: x1=334 y1=11 x2=358 y2=27
  112. #   text: "1"
  113. # item 10: EDIT_TEXT (0x10) enabled
  114. #   bounds: x1=336 y1=187 x2=360 y2=203
  115. #   text: "1"
  116. # item 11: TEXT (0x88) disabled
  117. #   bounds: x1=138 y1=8 x2=209 y2=24
  118. #   text: "Present‚Ķ"
  119. # item 12: TEXT (0x88) disabled
  120. #   bounds: x1=32 y1=8 x2=96 y2=24
  121. #   text: "Past‚Ķ"
  122. # item 13: TEXT (0x88) disabled
  123. #   bounds: x1=365 y1=11 x2=385 y2=31
  124. #   text: "K"
  125. # item 14: TEXT (0x88) disabled
  126. #   bounds: x1=368 y1=187 x2=388 y2=207
  127. #   text: "K"
  128. # item 15: PICTURE (0xC0) disabled
  129. #   bounds: x1=232 y1=176 x2=413 y2=181
  130. #   PICT resource ID: 1000
  131. # item 16: TEXT (0x88) disabled
  132. #   bounds: x1=232 y1=232 x2=328 y2=248
  133. #   text: "Total free:"
  134. # item 17: TEXT (0x88) disabled
  135. #   bounds: x1=336 y1=232 x2=504 y2=248
  136. #   text: "16536 bytes (16K)"
  137. # item 18: TEXT (0x88) disabled
  138. #   bounds: x1=232 y1=256 x2=328 y2=272
  139. #   text: "After purge:"
  140. # item 19: TEXT (0x88) disabled
  141. #   bounds: x1=336 y1=256 x2=504 y2=272
  142. #   text: "16536 bytes (16K)"
  143. # item 20: TEXT (0x88) disabled
  144. #   bounds: x1=232 y1=280 x2=283 y2=297
  145. #   text: "Result:"
  146. # item 21: TEXT (0x88) disabled
  147. #   bounds: x1=336 y1=280 x2=504 y2=296
  148. #   text: "noErr"
  149. # item 22: BUTTON (0x04) enabled
  150. #   bounds: x1=232 y1=80 x2=329 y2=101
  151. #   text: "HPurge"
  152. # item 23: BUTTON (0x04) enabled
  153. #   bounds: x1=232 y1=104 x2=329 y2=125
  154. #   text: "HNoPurge"
  155. # item 24: BUTTON (0x04) enabled
  156. #   bounds: x1=344 y1=56 x2=441 y2=77
  157. #   text: "MaxMem"
  158. # item 25: BUTTON (0x04) enabled
  159. #   bounds: x1=344 y1=80 x2=441 y2=101
  160. #   text: "CompactMem"
  161. # item 26: BUTTON (0x04) enabled
  162. #   bounds: x1=344 y1=104 x2=441 y2=125
  163. #   text: "PurgeMem"
  164. # item 27: EDIT_TEXT (0x10) enabled
  165. #   bounds: x1=448 y1=83 x2=472 y2=99
  166. #   text: "1"
  167. # item 28: EDIT_TEXT (0x10) enabled
  168. #   bounds: x1=448 y1=108 x2=472 y2=124
  169. #   text: "1"
  170. # item 29: TEXT (0x88) disabled
  171. #   bounds: x1=480 y1=80 x2=500 y2=100
  172. #   text: "K"
  173. # item 30: TEXT (0x88) disabled
  174. #   bounds: x1=480 y1=104 x2=500 y2=124
  175. #   text: "K"
  176.  
  177.  
  178. DITL_2000_Look, no touch.txt
  179. # 2 entries
  180. # item 0: BUTTON (0x04) enabled
  181. #   bounds: x1=181 y1=53 x2=241 y2=73
  182. #   text: "OK"
  183. # item 1: TEXT (0x88) disabled
  184. #   bounds: x1=58 y1=7 x2=241 y2=45
  185. #   text: "You can look at the old heap, but not touch."
  186.  
  187.  
  188. DITL_2001_Bad request.txt
  189. # 2 entries
  190. # item 0: BUTTON (0x04) enabled
  191. #   bounds: x1=181 y1=53 x2=241 y2=73
  192. #   text: "OK"
  193. # item 1: TEXT (0x88) disabled
  194. #   bounds: x1=58 y1=7 x2=241 y2=45
  195. #   text: "Please enter an integer between 1 and ^0"
  196.  
  197.  
  198. DITL_2002_No Demo Memory.txt
  199. # 2 entries
  200. # item 0: BUTTON (0x04) enabled
  201. #   bounds: x1=181 y1=53 x2=241 y2=73
  202. #   text: "OK"
  203. # item 1: TEXT (0x88) disabled
  204. #   bounds: x1=58 y1=7 x2=241 y2=45
  205. #   text: "There\'s not enough room to allocate another block."
  206.  
  207.  
  208. DITL_2003_No More Blocks.txt
  209. # 2 entries
  210. # item 0: BUTTON (0x04) enabled
  211. #   bounds: x1=181 y1=53 x2=241 y2=73
  212. #   text: "OK"
  213. # item 1: TEXT (0x88) disabled
  214. #   bounds: x1=58 y1=7 x2=241 y2=45
  215. #   text: "Sorry, only ^0 blocks are allowed in this demo."
  216.  
  217.  
  218. DITL_2004_No More Blocks.txt
  219. # 3 entries
  220. # item 0: BUTTON (0x04) enabled
  221. #   bounds: x1=59 y1=71 x2=119 y2=91
  222. #   text: "OK"
  223. # item 1: BUTTON (0x04) enabled
  224. #   bounds: x1=214 y1=72 x2=274 y2=92
  225. #   text: "Cancel"
  226. # item 2: TEXT (0x88) disabled
  227. #   bounds: x1=59 y1=7 x2=274 y2=62
  228. #   text: "Do you really want to delete all blocks in the heap?"
  229.  
  230.  
  231.